package com.ruyuan.eshop.buyer.domain.request;

import com.ruyuan.eshop.framework.domain.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * <p>
 *
 * </p>
 *
 * @author pwd
 * @version 1.0
 */
@ApiModel
@Data
public class CartUpdateRequest extends BaseRequest {

    @ApiModelProperty("选中状态")
    @Min(value = 0) @Max(value = 1)
    private Integer checked;

    @ApiModelProperty("购买数量")
    private Integer num;
}